<p><?php echo validation_errors(); ?></p>
<?php 
$form = array(
    'id'    => 'form-login',
    'class' => 'ut-form'
);
echo form_open('site/check_user',$form);
echo form_fieldset();
echo '<ul>';
echo '<li>'.form_label('Login:','name').form_input(array('name'=>'name','placeholder'=>'Wpisz swój login','class'=>'medium'),set_value('name','')).'</li>';
echo '<li>'.form_label('Hasło:','pass').form_password(array('name'=>'pass','placeholder'=>'Wpisz hasło','class'=>'medium'),set_value('pass','')).'</li>';
echo '<li>'.form_submit('login','Zaloguj się','class="btn-primary btn-large"').'</li>';
echo '</ul>';
echo form_fieldset_close();
echo form_close();
?>